

.bi-star-fill,
.bi-star-half {
    color: #ffb547;
}



.container {
    width: 100%;
    max-width: 1300px;
    margin: 100px auto 110px auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 0px;
    height: fit-content;
}

.product-gallery {
    display: flex;
    align-items: end;
    justify-content: end;
    width: 50%;
    gap: 20px;
}

.main-image {
    width: 423px;
    height: 516px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.3);
    transition: transform 0.3s ease;
}

.products-images {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 15px;
    height: 516px;
}

.products-images .img {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.products-images .img:hover,
.products-images .img.active {
    border-color: #ffb547;
}

.products-images .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ptoduct-detailes {
    width: 50%;
    display: flex;
    direction: rtl;
    justify-content: start;
    flex-direction: column;
    height: fit-content;
    
}

.product-name2 {
    width: 100%;
    color: #000000;
    font-size: 40px;
    line-height: 1.2;
    margin-top: 10px;
}

.products-prices {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 20px;
    line-height: 1;
    margin-top: 10px;
}

.main-price {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

.old-price {
    color: #a0a0a0;
    font-size: 24px;
    text-decoration: line-through;
}

.discount {
    color: #ff3333;
    background-color: #ff33331a;
    width: 60px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 62px;
    font-size: 14px;
}

.products-x {
    display: grid;
    align-items: center;
    justify-content: start;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(100px, 1fr));
    margin-top: 10px;
}

.products-x .box {
    font-size: 14px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    padding: 0px 4px;
    display: flex;
    height: 54px;
    text-align: center;
    line-height: 1.6;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.products-x .box:hover {
    border-color: #ffb547;
    color: #ffb547;
}

.product-description {
    display: flex;
    align-items: center;
    justify-content: start;
    font-size: 16px;
    color: #6c6c6c;
    line-height: 1.6;
    margin-top: 10px;
}

.product-bottons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    margin-top: 10px;
}
.product-catigory {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    gap: 6px;
    margin-top: 10px;
}



.favorite-product-button {
    height: 56px;
    padding: 0px 32px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-now-button {
    height: 56px;
    width: 100%;
    flex: 1;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: rgb(255, 255, 255);
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-now-button:hover {
    background-color: hsl(156, 95%, 32%);
    color: white;
    border: 1px solid hsl(156, 99%, 27%);
    transition: all 0.3s ease;
}

.favorite-product-button:hover {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.Buy_Now_btn {
    background-color: white;
    color: black;
}

.Buy_Now_btn:hover {
    background-color: #f5f5f5;
}

#related-products-section {
    margin-top: 150px;
}

.Related-Products-Title {
    width: 100%;
    max-width: 1300px;
    margin: 150px auto 30px auto;
    text-align: end;
    font-size: 28px;
    color: #333;
}

.related-products {
    width: 100%;
    max-width: 1300px;
    margin: 46px auto 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    direction: rtl;
}

.related-products:has(> .product-card:only-child) {
    grid-template-columns: 350px;
    justify-content: right; /* center the single column */
}

.related-products:has(> .product-card:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 350px);
    justify-content: right;
}

.product-card {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 6px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-title {
    font-size: 16px;
    width: 100%;
    text-align: start;
    direction: rtl;
    margin: 10px 0 4px 0;
    color: #333;
    flex: 1;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#more-info-first-seaction {
    margin-top: 150px;
}


.product-info-session {
    width: 100%;
    display: flex;
    margin-top: 46px;
    text-align: center;
    justify-content: center;
    align-items: center;
}


.product-info-container {
    width: 100%;
    gap: 8px;
    max-width: 1300px;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.product-info-container-img {
    width: 50%;
    height: 100%;
    text-align: left;
}
.product-info-container-details {
    width: 50%;
    direction: rtl;
    height: 100%;
    text-align: start;
}
.product-info-container-img img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    max-width: 500px;
    border-radius: 8px;
}



input.error::placeholder,
textarea.error::placeholder {
    color: #ff3737;
}


#submitApplicationButton:disabled {
    background-color: #b1b1b1;
    color: #ffffff;
    cursor: not-allowed;
}

.button-spinner {
    border: 2px solid transparent;
    border-top: 2px solid #fff; /* color of spinner */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#form-container input.error,textarea.error {
    border: 1px solid #ff3838;
}

.product-info-container-img .dev-tips {
    width: 100%;
    height: fit-content;
    max-width: 500px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: var(--primary-color);
    gap: 8px;
}

.product-info-container-img .dev-tips p {
    color: white;
    text-align: end;
    width: 100%;
    font-size: 14px;
}

.product-info-container-img .dev-tips i {
    color: white;
    font-size: 24px;
}

.product-info-container-paragraph {
    margin-top: 10px;
    font-size: 16px;
}

.product-info-container-title {
    font-size: 32px;
    line-height: 40px;
    margin-top: 12px;
}













.bottom-shop img {
    height: 30px;
}

.bottom-shop p {
   font-size: 17px;
   color: white;
   font-family: Arial, Helvetica, sans-serif;
   font-weight: 600;
}


.bottom-shop {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    gap: 8px;
    direction: ltr;
}


.delivery-product-state-container {
    margin-top: 8px;
    padding-bottom: 8px;
}

.delivery-product-state-container h4 {
    font-size: 20px;
}

.selected-product-type {
    display: flex;
    background-color: rgb(232, 255, 233);
    width: fit-content;
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid rgb(2, 230, 108);
    gap: 8px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.un-selected-product-type {
    display: flex;
    background-color: rgb(246, 246, 246);
    width: fit-content;
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid rgb(218, 218, 218);
    gap: 8px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.selected-product-pay-type {
    display: flex;
    background-color: rgb(255, 250, 225);
    width: fit-content;
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid rgb(255, 224, 46);
    gap: 8px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.un-selected-product-pay-type {
    display: flex;
    background-color: rgb(246, 246, 246);
    width: fit-content;
    padding: 6px 16px;
    border-radius: 8px;
    border: 1px solid rgb(218, 218, 218);
    gap: 8px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#delivery-product-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.favorite-product-button.active {
    background-color: hsl(352, 100%, 62%);
    color: white;
    border: 1px solid hsl(0, 100%, 58%);
    transition: all 0.3s ease;
}
.tag {
    color: var(--primary-color);
    background-color: #22293421;
    width: fit-content;
    padding: 0px 24px;
    text-transform: uppercase;
    border-radius: 16px;
}

.product-info-container-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 8px;
    max-width: 500px;
}

.product-info-session-images .container-imgs {
    width: 100%;
    max-width: 1300px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.product-info-session-images {
    width: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 150px;
}

.product-info-session-images #main-image-container {
    width: 70%;
    height: 508px;
}

.product-info-session-images #main-image-container #main-image-primary {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.secndary-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.hover-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

#hover-image-wrapper-1,
#hover-image-wrapper-2 {
    position: relative;
    width: 100%;
    height: 50%;
}

.hover-image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.hover-image-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    scale: 0;
    transition: opacity 0.6s ease-out;
    transition: scale 0.6s ease-out;
    pointer-events: none;
}

.hover-image-wrapper:hover .overlay {
    opacity: 1;
    scale: 1;
    pointer-events: auto;
}

#secndary-image-container {
    width: 30%;
    height: 500px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-info-session-video {
    width: 100%;
    margin-top: 150px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.video-container {
    width: 100%;
    max-width: 1300px;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.video-container #video-youtube {
    width: 50%;
    border-radius: 16px;
    margin-top: 12px;
}

#watch-video-product-button {
    height: 56px;
    width: 100%;
    flex: 1;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: rgb(255, 255, 255);
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

#watch-video-product-button:hover {
    background-color: hsl(0, 100%, 65%);
    color: white;
    border: 1px solid hsl(0, 100%, 50%);
    transition: all 0.3s ease;
}

#order-section {
    width: 100%;
    margin-top: 150px;
}

#form_container {
    max-width: 1300px;
    width: 100%;
    height: 100%;
    margin: 0px auto;
    display: flex;
    gap: 32px;
    justify-content: space-between;
}

#contact-preview {
    width: 50%;
    background-color: #333;
}

#form-contaner {
    width: 50%;
    display: flex;
    background-color: white;
    flex-direction: column;
    gap: 12px;
    direction: rtl;
    padding: 100px 16px;
    border: 0.5px solid var(--primary-color);
    border-radius: 16px;
}

.form-wrapper {
    display: flex;
    max-width: 1300px;
    margin: 50px auto;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    direction: rtl;
}

.form-image {
    width: 50%;
    background-image: url("/images/images/contact-image.jpg");
    background-size: cover;
    background-position: center;
}

#form-container {
    width: 50%;
    padding: 30px;
    box-sizing: border-box;
}

#form-container label {
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#form-container input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#form-container input:focus {
    border-color: #86b7fe;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

@keyframes animateDialog {
    from {
        opacity: 0;
        transform: translateY(500px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

.alert-danger {
    font-weight: 300;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.dialog .success-button {
    border: none;
    background-color: #35bb7f;
    color: white;
    padding: 4px 28px;
    border-radius: 20px;
    font-size: 16px;
    box-shadow: 1px 1px 10px 1px #35bb7f;
}
.dialog {
    background-color: white;
    padding: 16px 30px 40px 30px;
    border-radius: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.dialog p,h1 {
    max-width: 300px;
}
.dialog .close-order-dialog-button{
    width: 100%;
    height: 42px;
    align-items: end;
    display: flex;
    justify-content: end;
}

.dialog .close-order-dialog-button button{
    border: none;
    background-color: rgb(255, 255, 255);
    font-size: 28px;
    height: 40px;
    margin-top: -20px;
    
}

.overly-container {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overly-container.active {
    opacity: 1;
    pointer-events: auto;
}


.alert span {
    text-align: right;
}

.alert .close-btn {
    background: transparent;
    border: none;
       font-weight: 300;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}
.alert > * {
    font-weight: 300;
}
@keyframes fadeInAndMoveAnimation {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert {
    padding: 0.75rem 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0.4px solid transparent;
    border-radius: 0.375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    opacity: 0;
    animation: fadeInAndMoveAnimation 0.5s forwards;
}


#submitApplicationButton {
    margin-top: 30px;
    width: 100%;
    padding: 14px;
    background-color: #00a45a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#submitApplicationButton:hover:not(:disabled) {
    background-color: #006538;
}

.section-header {
    max-width: 1300px;
    text-align: center;
    width: 100%;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-header p {
    max-width: 700px;
    text-align: center;
}
.section-header h2 {
    font-size: 26x;
    font-weight: bold;
    text-align: center;
}

.checkout-card-buttons-container {
    width: 100%;
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.checkout-card-button {
    background-color: var(--primary-color);
    width: 100%;
    color: white;
    height: 48px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.checkout-card-button:hover {
    background-color: hsl(156, 95%, 32%);
    color: white;
    border: 1px solid hsl(156, 99%, 27%);
    transition: all 0.3s ease;
}
.checkout-card-favorite-button.active {
    background-color: hsl(352, 100%, 62%);
    color: white;
    border: 1px solid hsl(0, 100%, 58%);
    transition: all 0.3s ease;
}
.checkout-card-favorite-button {
    height: 48px;
    padding: 0px 32px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-card-favorite-button:hover {
    background-color: hsl(156, 95%, 32%);
    color: white;
    border: 1px solid hsl(156, 99%, 27%);
    transition: all 0.3s ease;
}

.product-price-seaction {
    display: flex;
    margin-top: 0px;
    justify-content: space-between;
}

.discount-amount-card-product {
    background-color: #b6ffde;
    border: 0.5px solid #01a35a;
    color: #01a35a;
    padding: 0px 16px;
    font-size: 14px;
    border-radius: 16px;
    line-height: 1;
    height: 20px;
    padding-top: 3px;
}

.card-profuct-price {
    margin-top: 0px;
    font-size: 18px;
    color: var(--primary-color);
    font-family: "Courier New", Courier, monospace;
    font-weight: 600;
}

.old-card-profuct-price {
    font-size: 16px;
    margin-top: 0px;
    color: #474747;
    font-family: "Courier New", Courier, monospace;
    font-weight: 600;
    text-decoration: line-through;
}

.card-profuct-prices-container {
    display: flex;
    margin-top: 0px;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.main-image img {
    transition: opacity 0.3s linear, scale 0.3s linear;
    scale: 1;
    opacity: 1;
}

.main-image img.fade-out {
    opacity: 0.6;
    scale: 0.6;
}




@media (max-width: 1300px) {
    #related-products-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    #order-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .product-info-session-video {
        padding-left: 20px;
        padding-right: 20px;
    }

    .product-info-session-images {
        padding-left: 20px;
        padding-right: 20px;
    }

    #more-info-first-seaction {
        padding-left: 20px;
        padding-right: 20px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .video-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .product-info-container-details  {
        width: 100%;
    }

    .video-container #video-youtube {
        width: 100%;
        max-width: 100%;
    }
}



